/*
 * Copyright (c) 2018 maoyan.com
 * All rights reserved.
 *
 */
package com.darren.euc.service;

import com.darren.euc.entity.ActivityMemberRel;
import com.darren.euc.entity.Member;
import com.darren.euc.entity.PageBean;
import net.sf.json.JSONObject;

import java.util.List;

/**
 * 在这里编写类的功能描述
 *
 * @author fangwenhao
 * @created 2018/3/11
 */
public interface ActivityMemberRelService {

    PageBean queryForPageActivityMemberRelHQL(JSONObject data, Integer pageSize, int currentPage);

    ActivityMemberRel updateCheck(Long id);

    ActivityMemberRel save(ActivityMemberRel activityMemberRel);

    List<ActivityMemberRel> findByActivityId(Long activityId);

    List<ActivityMemberRel> findByMemberIdAndStatusIn(Long memId,List<Integer> statuses);

    ActivityMemberRel findByActivityIdAndMemberId(Long activityId, Integer memberId);
}
